# draw ceilings
import pygame

class Ceiling(pygame.sprite.Sprite):
    def __init__(self,x,y):
        super().__init__()
        self.image = pygame.Surface((32,20))
        self.image.fill((207,113,113))
        self.rect = self.image.get_rect(topleft = (x,y))

    def update(self,direction):
        self.rect.x += direction
